<template>
  <div>
    <div class="pulist">
        
        <div class="title"> 
            <div class="titleicon" v-html="categorie.iconcode"></div>
            <div class="titlename"><h5>{{ categorie.title }}</h5></div>
        </div>
        <div class="content" v-for="(filename,index) in categorie.filenames" :key="index">
            <a :href="categorie.filepath[index]" target="_blank">
                {{ filename }}
            </a>
            <div class="contentjt"></div>
        </div>

    </div>
  </div>
</template>

<script>
export default {
    props: {
        categorie: {
            type: Object,
            required: true
        }
    },
}
</script>

<style scoped>
.pulist{
    min-width: 450px;
    margin-right: 52px;
    height: 300px;
    border-radius: 20px;
    box-shadow: 5px 5px 10px rgba(102, 99, 99, 0.123);
}
.title{
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 30px;
    line-height: 30px;
}
.titleicon{
    margin: 10px 0px;
}
.titlename{
    margin: 10px 0 10px 10px;
}
.pulist>div{
    margin: 10px 20px;
}


.content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
a{
    text-decoration: none;
    color: gray;
    font-size: 18px;
}
.contentjt{
    width: 11px;
    height: 11px;
    border-width: 1px 1px 0px 0px;
    border-style: solid;
    border-color:  gray;
    transform: rotate(45deg);
}

.content:hover .contentjt{
    border-color:#2e7d32;
    border-width: 2px 2px 0px 0px;
}
.content:hover a{
    color: #2e7d32;
    font-weight: 600;
}

</style>